package com.gqh.weather.domain.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * @description 抽测学校学生数量管理实体类
 * @author AI
 * @date 2025-09-21
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("zh_school_cc_count")
public class CcSchoolStudentCount {

    /**
     * 自增ID
     */
    @TableId
    private Integer id;

    /**
     * 任务ID
     */
    @TableField("task_id")
    private Integer taskId;

    /**
     * 学校ID
     */
    @TableField("school_id")
    private Integer schoolId;

    /**
     * 抽测人数
     */
    @TableField("cc_count")
    private Integer ccCount;

    /**
     * 删除状态(0正常 1删除)
     */
    @TableLogic
    @JsonIgnore
    @TableField("is_deleted")
    private Integer isDeleted = 0;

    /**
     * 创建时间
     */
    @JsonIgnore
    @TableField(value = "created_time", fill = FieldFill.INSERT)
    private Long createdTime;

    /**
     * 更新时间
     */
    @JsonIgnore
    @TableField(value = "updated_time", fill = FieldFill.INSERT_UPDATE)
    private Long updatedTime;
}